/// id : "1839511548626124814"
/// clockingId : "1839197270002069523"
/// idcard : "140622200106059878"
/// clockingTime : "2024-09-27 11:45:04"
/// type : 1
/// clockingTimeId : "1839197270127898635"
/// lon : "112.572806875"
/// lat : "37.8774034645"
/// address : "太原市杏花岭区教场巷30号院"
/// clockingDate : "2024-09-27"
/// createTime : 1727408704
/// remark : ""

class AttendanceDayStatistics {
  AttendanceDayStatistics({
      String? id, 
      String? clockingId, 
      String? idcard, 
      String? clockingTime, 
      num? type, 
      String? clockingTimeId, 
      String? lon, 
      String? lat, 
      String? address, 
      String? clockingDate, 
      num? createTime, 
      String? remark,}){
    _id = id;
    _clockingId = clockingId;
    _idcard = idcard;
    _clockingTime = clockingTime;
    _type = type;
    _clockingTimeId = clockingTimeId;
    _lon = lon;
    _lat = lat;
    _address = address;
    _clockingDate = clockingDate;
    _createTime = createTime;
    _remark = remark;
}

  AttendanceDayStatistics.fromJson(dynamic json) {
    _id = json['id'];
    _clockingId = json['clockingId'];
    _idcard = json['idcard'];
    _clockingTime = json['clockingTime'];
    _type = json['type'];
    _clockingTimeId = json['clockingTimeId'];
    _lon = json['lon'];
    _lat = json['lat'];
    _address = json['address'];
    _clockingDate = json['clockingDate'];
    _createTime = json['createTime'];
    _remark = json['remark'];
  }
  String? _id;
  String? _clockingId;
  String? _idcard;
  String? _clockingTime;
  num? _type;
  String? _clockingTimeId;
  String? _lon;
  String? _lat;
  String? _address;
  String? _clockingDate;
  num? _createTime;
  String? _remark;
AttendanceDayStatistics copyWith({  String? id,
  String? clockingId,
  String? idcard,
  String? clockingTime,
  num? type,
  String? clockingTimeId,
  String? lon,
  String? lat,
  String? address,
  String? clockingDate,
  num? createTime,
  String? remark,
}) => AttendanceDayStatistics(  id: id ?? _id,
  clockingId: clockingId ?? _clockingId,
  idcard: idcard ?? _idcard,
  clockingTime: clockingTime ?? _clockingTime,
  type: type ?? _type,
  clockingTimeId: clockingTimeId ?? _clockingTimeId,
  lon: lon ?? _lon,
  lat: lat ?? _lat,
  address: address ?? _address,
  clockingDate: clockingDate ?? _clockingDate,
  createTime: createTime ?? _createTime,
  remark: remark ?? _remark,
);
  String? get id => _id;
  String? get clockingId => _clockingId;
  String? get idcard => _idcard;
  String? get clockingTime => _clockingTime;
  num? get type => _type;
  String? get clockingTimeId => _clockingTimeId;
  String? get lon => _lon;
  String? get lat => _lat;
  String? get address => _address;
  String? get clockingDate => _clockingDate;
  num? get createTime => _createTime;
  String? get remark => _remark;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['clockingId'] = _clockingId;
    map['idcard'] = _idcard;
    map['clockingTime'] = _clockingTime;
    map['type'] = _type;
    map['clockingTimeId'] = _clockingTimeId;
    map['lon'] = _lon;
    map['lat'] = _lat;
    map['address'] = _address;
    map['clockingDate'] = _clockingDate;
    map['createTime'] = _createTime;
    map['remark'] = _remark;
    return map;
  }

}